package com.zsrd.self.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <pre>
 *
 * </pre>
 *
 * @author sunjiyong
 * @since 2024/2/29 8:28
 */
@Data
@TableName("self_user")
public class SelfUser implements Serializable {


    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    // 用户唯一id
    @TableField("union_id")
    private String unionId;

    //公众号id
    @TableField("official_id")
    private String officialId;

    // 小程序id
    @TableField("applet_id")
    private String appletId;

    // 抖音id
    @TableField("clickid")
    private String clickid;

    //用户名
    @TableField("user_name")
    private String userName;
    //省份
    @TableField("region")
    private String region;
    //城市
    @TableField("city")
    private String city;
    //区县
    @TableField("county")
    private String county;
    //教育程度
    @TableField("edu")
    private String edu;
    //专业
    @TableField("major")
    private String major;


    @TableField("creat_time")
    private Date creatTime;

    // 3
    @TableField(exist = false)
    private String type;

    // 填写信息得状态
    @TableField(exist = false)
    private String state;

}
